package org.lego.biz.task.management.base.entity.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lego.jpa.base.entity.UUIDWithTimeEntity;

import javax.persistence.MappedSuperclass;

/**
 * Created by hr.qjy on 16/11/18.
 */
@MappedSuperclass
@Data
@EqualsAndHashCode(callSuper = true)
public class UUIDWithTimeAndStatusEntity extends UUIDWithTimeEntity {
    public static final String STATUS_NORMAL = "0";     // 正常状态
    public static final String STATUS_DELETE = "1";    // 删除状态
    public static final String STATUS_ARCHIVED = "9"; // 归档状态
    protected String status = STATUS_NORMAL;
}
